aux_source_directory(. SRC_LIST)
aux_source_directory(../server/db DB_FILES)
aux_source_directory(../server/model MODEL_FILES)
# 需要把所有的源文件都需要编译，好像开源项目也没有加${DB_FILES} ${MODEL_FILES}，不知道为啥能编译通过
add_executable(chatclient ${SRC_LIST} ${DB_FILES} ${MODEL_FILES})
target_link_libraries(chatclient muduo_net muduo_base pthread mysqlclient)